package com.hand.dao;

import com.hand.entity.User;
import org.springframework.stereotype.Repository;

/**
 * Created by 86136 on 2019/7/15.
 */
//@MapperScan
@Repository
public interface UserMapper {
    int deleteUser(long userId);
    int insertUser(User user);
    int updateUser(User user);
/*    @Select("select id,name,age,des from user where id=#{id}")
    User getUser(@Param("id")int id);

    @Select("select id,name,age,des from user")
    List<User> findAll();*/
    
}
